/*
 * @Description:
 * @Autor: Bingo
 * @Date: 2024-05-21 17:40:44
 * @LastEditors: Bingo
 * @LastEditTime: 2024-08-29 17:18:36
 */
import {
    Loading,
    Empty,
    Button,
    Form,
    Field,
    CellGroup,
    Icon,
    Col,
    Row,
    Sticky,
    NavBar,
    List,
    Popup,
    DatePicker,
    Radio,
    RadioGroup,
    BackTop,
    Collapse,
    CollapseItem,
    TimePicker,
    PullRefresh,
    Picker,
    PickerGroup,
    IndexBar,
    IndexAnchor,
    Toast,
    Dialog,
    Checkbox,
    CheckboxGroup,
    Watermark  
  } from "vant";
  import { App } from "vue";
  
  export const registerVantComp = (app: App<Element>) => {
    // 3. 注册你需要的组件
    app.use(Button);
    app.use(Checkbox);
    app.use(CheckboxGroup);
    app.use(Form);
    app.use(Field);
    app.use(CellGroup);
    app.use(Icon);
    app.use(Col);
    app.use(Row);
    app.use(Sticky);
    app.use(NavBar);
    app.use(List);
    app.use(Popup);
    app.use(DatePicker);
    app.use(Radio);
    app.use(RadioGroup);
    app.use(BackTop);
    app.use(Empty);
    app.use(Loading);
    app.use(Collapse);
    app.use(CollapseItem);
    app.use(TimePicker);
    app.use(PullRefresh);
    app.use(Picker);
    app.use(PickerGroup);
    app.use(IndexBar);
    app.use(IndexAnchor);
    app.use(Toast);
    app.use(Dialog);
    app.use(Watermark);
  };
  